﻿@-ms-viewport {
    width: device-width;
}

html {
    border: none;
    font-size: 85%;
}

body {
    margin: 0;
    padding: 0;
}

body, input, button {
    font: 100% "segoe ui",calibri,arial,sans-serif;
}

a, .upload, .submit, .overlay {
    transition: .5s;
}

a {
    text-decoration: none;
    color: #26a;
    border-bottom: 1px solid transparent;
}

    a:hover {
        border-color: #ccc;
    }

h1, h2 {
    font-weight: normal;
}

.container {
    overflow: hidden;
}

header {
    margin: 0 10px;
}

.loaders {
    margin: 1em 0;
}

.upload, .submit {
    vertical-align: top;
    width: 60px;
    height: 1.5em;
    background: #cde;
    border: 1px solid transparent;
    margin: -1px 3px;
}

.upload {
    position: relative;
    display: inline-block;
    overflow: hidden;
    text-align: center;
}

    .upload:hover, .submit:hover {
        border-color: #26a;
    }

    .upload input {
        position: absolute;
        top: 0;
        right: 0;
        opacity: 0;
    }

.submit {
    height: 1.65em;
}

.tabs {
    border-bottom: 1px solid #ccc;
    overflow: hidden;
}

    .tabs a {
        border: 1px solid transparent;
        border-bottom: none;
        margin: 0 10px 0 0;
        padding: 5px 10px;
        float: left;
        background: #fff;
    }

        .tabs a:hover, .tabs .on {
            border-color: #ccc;
        }

    .tabs .right, .tabs label {
        float: right;
        margin: 0 0 0 10px;
    }

    .tabs label {
        margin-top: 5px;
    }

.pbox {
    min-height: 60px;
    padding: 5px 10px;
    background: #eee;
}

.panel {
    display: none;
    overflow: hidden;
}

    .panel button, #yourrgbas a {
        margin-left: 10px;
    }

.cbox {
    padding: 1px;
    background: #666;
}

    .cbox canvas {
        display: block;
        margin: 11px auto;
        background: #fff;
    }

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    visibility: hidden;
    background: rgba(0,0,0,.5);
    line-height: 100vh;
    text-align: center;
    width: 100%;
    height: 100%;
    opacity: 0;
}

    .overlay img {
        max-width: 100%;
        max-height: 100%;
        vertical-align: middle;
    }

    .overlay form {
        display: inline-block;
        width: 90%;
        max-width: 480px;
        vertical-align: middle;
        line-height: 1.6;
        background: #fff;
        padding: 10px;
    }

    .overlay td {
        padding: 5px 8px 5px 4px;
    }

    .overlay input {
        width: 100%;
    }